package com.kk.enums;

import lombok.Getter;

/**
 * 登录状态枚举
 *
 * @author kk
 */
@Getter
public enum LoginStatus {

    /**
     * 登录失败
     */
    FAIL(0, "登录失败"),

    /**
     * 登录成功
     */
    SUCCESS(1, "登录成功");

    private final Integer code;
    private final String desc;

    LoginStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}